import fetch from 'common/src/utils/fetch'
import UTILS from "common/src/utils/utils";
function getTableList(data){//获取首页列表信息
    return fetch({
        url:`/api/scoremanagementservice/paperAnalysisController/paperAnalysisReportInfo?pageNum_=${data.pageNum_}&pageSize_=${data.pageSize_}&calendarId=${data.calendarId}&college=${data.college}&course=${data.course}&isAnalysis=${data.isAnalysis}&teacher=${data.teacher}`,
        method:'get'
    
    })
}
function getCoursePointReportTableList(data){//课程报表信息列表
    return fetch({
        url:`/api/scoremanagementservice/paperAnalysisController/paperAnalysisReportClassInfo?courseCode=${data.courseCode}&calendarId=${data.calendarId}&pageNum_=${data.pageNum_}&pageSize_=${data.pageSize_}`,
        method:'get'
    })
}

function pointPeopleList(data){
    return fetch({
        url:'/api/scoremanagementservice/paperAnalysisController/paperAnalysisUpdateAssignedPeople',
        method:'post',
        data
    })
}
function returnBack(data){
    return fetch({
        url:'/api/scoremanagementservice/paperAnalysisController/paperAnalysisRevertClass',
        method:'post',
        data
    })
}
export default{
    getTableList,
    getCoursePointReportTableList,
    pointPeopleList,
    returnBack
    
}